
// var EventEmitter = require('events').EventEmitter; 
// var event = new EventEmitter(); 
// export default event;
class Collection {
    constructor (io) {
      
    }
    emit(){
        this.io.sockets.emit('receiveMsg',{a:'receiveMsg'})
    }
     initCollectio (cxt) {
       this.io = cxt;
    }
  }
  export default new Collection();